<!DOCTYPE html>

<html ng-app="myApp">
<head>
    <script src="http://code.angularjs.org/1.2.25/angular.min.js"></script>
</head>

<body ng-controller="DemoController as demo">
Client ID: {{demo.clientId}}
</body>

<script type="text/javascript">
    var myApp = angular.module('myApp', []);

    myApp.value('clientId', 'a12345654321x');

    myApp.controller('DemoController', ['clientId', function DemoController(clientId) {
        this.clientId = clientId;
    }]);
</script>
</html>